package com.bl.car.repositiy;

import com.bl.car.entity.Owner;
import com.bl.car.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户数据接口
 *
 * @author zhx
 * @create 2017-11-16 13:42
 **/
@Repository
public interface UserRepository extends JpaRepository<User,Long> {

    User getUserByUsername(String userName);

    List<User> findByIsEffect(String isEffect);
}
